#include<iostream>
using namespace std;
int main() {
	void function(double val);
	double val;
	function (val);
	cout << "val = " << val << endl;
	return 0;
}
void function(double val) {
	val = 3;
}